//package org.example.mq;
//
//import org.rcy.framework.api.entity.ResultMessage;
//import org.rcy.framework.mq.mqtt.MqttGateway;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//import javax.annotation.Resource;
//
///**
// * @author 吴康桥
// * @Description
// * @date 2023/3/24 15:48
// */
//
//@RestController
//public class MqttTestController {
//
//	@Resource
//	private MqttGateway mqttGateway;
//
//	@GetMapping("/test/mqtt")
//	public ResultMessage testMqtt(){
//		mqttGateway.sendToMqtt("mqtt-default","mqtt测试");
//		return ResultMessage.success();
//	}
//}
